package com.syyo.common.exception;

/**
 * @Auther: wangzhong
 * @Date: 2019/6/28 16:47
 * @Description: 异常
 */
public class SysException extends RuntimeException {

    private Integer code;
    private String message;


    public SysException() {
    }

    public SysException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
